package com.hzlj.position.config.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fz.common.base.core.JacksonTypeHandlerIgnoreNull;
import com.hzlj.position.config.common.dto.operatorActivation.OperatorActivationExtDTO;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 定位-运营商开通-日志(OperatorActivationLogs)实体类
 *
 * @author lifh
 * @since 2023-08-17 18:16:57
 */
@Data
@ToString
@TableName(value = "operator_activation_logs", autoResultMap = true)
public class OperatorActivationLogs {
    /**
     * 主键
     */
    @TableId(type = IdType.INPUT, value = "id")
    private String id;
    /**
     * 矫正ID(jz_jbxx)
     */
    @TableField(value = "jz_id")
    private String jzId;
    /**
     * 激活ID(operator_activation)
     */
    @TableField(value = "operator_activation_id")
    private String operatorActivationId;
    /**
     * 开通状态,dict-OPERATOR_ACTIVATION
     */
    @TableField(value = "activation")
    private String activation;
    /**
     * 开通时间
     */
    @TableField(value = "activation_time")
    private Date activationTime;
    /**
     * 取消时间
     */
    @TableField(value = "deactivate_time")
    private Date deactivateTime;
    /**
     * 开通取消参数,json-OperatorActivationExtDTO
     */
    @TableField(value = "ext", typeHandler = JacksonTypeHandlerIgnoreNull.class)
    private OperatorActivationExtDTO ext;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 创建人
     */
    @TableField(value = "creator_uid")
    private String creatorUid;
    /**
     * 更新人姓名
     */
    @TableField(value = "creator_name")
    private String creatorName;
}
